package com.imooc.o2o.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.imooc.o2o.dto.ReachDescExecution;
import com.imooc.o2o.entity.ReachDesc;

public interface ReachDescService {
	/**
	 * 通过id查询改进
	 * @param excelId
	 * @return
	 */
	ReachDesc getReachDescList(long excelId);
	/**
	 * 通过id删除考试命题
	 * @param subjectId
	 * @param excelId
	 * @return
	 */
	ReachDescExecution deleteReachDescById(@Param("wordId")Integer wordId,@Param("excelId")long excelId);
	/**
	 * 更新考试命题
	 * @param gradeSubject
	 * @return
	 */
	ReachDescExecution modifyReachDesc(ReachDesc reachDesc);
	/**
	 * 通过id查询考试命题
	 * @param gradeSubjectId
	 * @return
	 */
	ReachDesc getByReachDescId(int wordId);
	/**
	 * 增加考试命题
	 * @param gradeSubject
	 * @return
	 */
	ReachDescExecution InsertReachDesc(ReachDesc reachDesc);
}
